package com.naiterui.ehp.bp.constants;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/**
 * <pre>
 *      订单号类型
 * </pre>
 *
 * @author 王泽浩
 * @since 1.0.0
 */
@SuppressWarnings({"WeakerAccess", "unused"})
public class OrderSnType {

    /**
     * 个性自定义收费
     */
    public static final int CUSTOM_CHARGE_ORDERSN = 1;

    /**
     * 图文咨询收费
     */
    public static final int MESSAGE_CONSULT_ORDERSN = 2;

    /**
     * 患者打赏
     */
    public static final int APPRAISE_ORDERSN = 3;

    /**
     * 健康检查
     */
    public static final int EXAMINATION_ORDERSN = 4;

    /**
     * 视频预约
     */
    public static final int VIDEO_ORDERSN = 5;

    /**
     * B2C购药
     */
    public static final int B2C_ORDERSN = 6;

    /**
     * 咨询活动
     */
    public static final int CONSULT_ACTIVITY_ORDER = 7;

    /**
     * 找医生-线上诊室
     */
    public static final int CONSULT_ROOM_ORDERSN = 8;

    /**
     * 自检测试
     */
    public static final int SELF_INSPECT_TEST = 9;


    /**
     * 订单号类型
     */
    @Deprecated
    public static final Map<Integer, String> ORDER_SN_TYPE = Collections.unmodifiableMap(new HashMap<Integer, String>() {
        {
            put(CUSTOM_CHARGE_ORDERSN, "个性自定义收费");
            put(MESSAGE_CONSULT_ORDERSN, "图文咨询收费");
            put(APPRAISE_ORDERSN, "患者打赏");
            put(EXAMINATION_ORDERSN, "健康检查");
            put(VIDEO_ORDERSN, "视频预约");
            put(B2C_ORDERSN, "B2C购药");
            put(CONSULT_ACTIVITY_ORDER, "咨询活动");
        }
    });
}
